/* 
This do file performs all analysis in Sumner, Shr, and Li (2025) Is Yield Response Enough? Drought Impacts on Crop Acreage Throughout the Production Cycle, AJAE. The file can be executed as long as the final data file, use.dta, is in the data folder.
*/

global root `c(pwd)' // Check your path here

do "$root\dofiles\analysis\fig_1_5_main_results"
do "$root\dofiles\analysis\fig_a1_joint_cropping"
do "$root\dofiles\analysis\fig_a2_misspecification"
do "$root\dofiles\analysis\fig_a3a4_heterogeneity"
do "$root\dofiles\analysis\fig_a5_price_controls"
do "$root\dofiles\analysis\fig_a6_insurance_controls"
do "$root\dofiles\analysis\fig_a7_heterogeneity"
do "$root\dofiles\analysis\tab_1_decomposition"
do "$root\dofiles\analysis\tab_2_omiited_variable_bias"
do "$root\dofiles\analysis\tab_a1a2_summary_corr"
do "$root\dofiles\analysis\tab_a3_main_results"
do "$root\dofiles\analysis\tab_a5_price_controls"
do "$root\dofiles\analysis\tab_a6_insurance_controls"
